// JavaScript Document
jQuery(document).ready(function() {
	//Start the countdown clock
	$('#countdown_dashboard').countDown({
		targetDate: {
			'day': 		3,
			'month': 	7,
			'year': 	2012,
			'hour': 	11,
			'min': 		59,
			'sec': 		0
		}
	});
	
	//Start the animation sequence
	jQuery('#video').oneTime("240s", "hide-video", function() {
    	jQuery(this).animate({height:0, top: 360},{duration:3000, easing:"easeInQuart", complete: function(){jQuery(this).remove();}});
  	});
	jQuery('#countdown_dashboard').oneTime("243s", "show-countdown", function() {
    	jQuery(this).fadeIn(2000, "easeOutQuart");
  	});	
	jQuery('#pledgie-link').oneTime("245s", "show-countdown", function() {
    	jQuery(this).fadeIn(2000, "easeOutQuart");
  	});	
	
});